﻿<Window x:Class="VirtualCamUI.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="CYCLOPS Virtual Cam" Height="300" Width="500">
    <Grid>
        <DockPanel LastChildFill="True">
            <Image Height="200" Width="300" Source="{Binding Path=Image}" DockPanel.Dock="Left" />
            <DockPanel DockPanel.Dock="Right" LastChildFill="True">
                <StackPanel DockPanel.Dock="Bottom">
                    <Button Command="{Binding Path=StartProcessing}" Content="Start Processing" />
                    <Button Command="{Binding Path=StopProcessing}" Content="Stop Processing" />
                </StackPanel>
                <StackPanel DockPanel.Dock="Top">
                    <DockPanel LastChildFill="True">
                        <Button Command="{Binding Path=SetPath}" Content="Set" DockPanel.Dock="Right" />
                        <TextBox Text="{Binding Path=Path}" DockPanel.Dock="Left"/>
                    </DockPanel>
                    <DockPanel LastChildFill="True">
                        <DockPanel LastChildFill="True" DockPanel.Dock="Right">
                            <StackPanel Orientation="Horizontal" DockPanel.Dock="Right">
                                <Button Content="˄" Command="{Binding Path=DelayUp}" />
                                <TextBox Text="{Binding Path=Delay}" Width="15" />
                                <Button Content="˅" Command="{Binding Path=DelayDown}" />
                            </StackPanel>
                        </DockPanel>
                        <Label Content="Frame Delay" DockPanel.Dock="Left" />
                    </DockPanel>
                </StackPanel>
            </DockPanel>
        </DockPanel>
    </Grid>
</Window>
